#ifndef _LANGIMPL_H_
#define _LANGIMPL_H_

#include "stdafx.h"

class CLangImpl : 	public  IPlugin,
					public  IPluginRun,
					public	CUnknownImp
{
public:
	CLangImpl(void);
	virtual ~CLangImpl(void);
	
	BEGIN_STDCOM_MAP
		STDCOM_INTERFACE_ENTRY(IPlugin)
		STDCOM_INTERFACE_ENTRY(IPluginRun)
	END_STDCOM_MAP

	//IPlugin
	std_method(Init)(int Argc, basic_tchar* Argv[], IBase* pRot, IBase* pBase);
	std_method(Uninit)();
	
	//IPluginRun
	std_method(Start)(_pinstance hInstance, UINT uType);
	std_method(Stop)(UINT uExitCode);
	
protected:
	RotPtr	m_pRot;
};
#endif
